package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsCouponProductCategoryRelationDO;
import com.macro.mall.model.sms.SmsCouponProductCategoryRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsCouponProductCategoryRelationMapper extends BaseMapper<SmsCouponProductCategoryRelationDO> {
    long countByExample(SmsCouponProductCategoryRelationQuery example);

    int deleteByExample(SmsCouponProductCategoryRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsCouponProductCategoryRelationDO record);

    int insertSelective(SmsCouponProductCategoryRelationDO record);

    List<SmsCouponProductCategoryRelationDO> selectByExample(SmsCouponProductCategoryRelationQuery example);

    SmsCouponProductCategoryRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelationDO record, @Param("example") SmsCouponProductCategoryRelationQuery example);

    int updateByExample(@Param("record") SmsCouponProductCategoryRelationDO record, @Param("example") SmsCouponProductCategoryRelationQuery example);

    int updateByPrimaryKeySelective(SmsCouponProductCategoryRelationDO record);

    int updateByPrimaryKey(SmsCouponProductCategoryRelationDO record);
}
